package com.example.classes;

/**
 * @author Ali
 * Represents a User with no administrative priveleges
 */
public class User extends Member
{
    /**
     * Sets up properties
     * @param u username string for handle
     * @param p password string for account
     * @param em contact info of account
     */
    public User(String u, String p, String em)
    {
        super(u,p,em);
    }

    /**
     * Sets up properties and lock status
     * @param u username string for handle
     * @param p password string for account
     * @param em contact info of account
     * @param lock true if account should be locked
     */
    public User(String u, String p, String em, boolean lock)
    {
        this(u,p,em);
        this.locked=lock;
    }
}
